# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-holidays
pkgver=0.10.3
pkgrel=0
pkgdesc="Generate and work with holidays in Python"
url="https://github.com/dr-prodigy/python-holidays"
arch="noarch"
license="MIT"
depends="python3 py3-dateutil py3-six py3-convertdate py3-convertdate py3-korean-lunar-calendar py3-hijri-converter"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/h/holidays/holidays-$pkgver.tar.gz"
builddir="$srcdir/holidays-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="6d41e6765efdcee698fa7f90ad0fc4b2c12324912bea2b5b63c2999bb9851372a965bc82f9871cce6f75dfde2199cc36b5135d85eff33bbece17def8416c608f  holidays-0.10.3.tar.gz"
